﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="H2.NET.Web.Index.Index" %>



<%@ Register Src="UserControls/menu.ascx" TagName="menu" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />
    <title><%=H2.NET.Util.AppSettings("title")%></title>
    <link rel="SHORTCUT ICON" href="Resource/images/sparkle.ico" />
    <link href="./Resource/dwz/themes/default/style.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="./Resource/dwz/themes/css/core.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="./Resource/dwz/themes/css/print.css" rel="stylesheet" type="text/css" media="print" />
    <link href="./Resource/Css/AccordionHeader.css" rel="stylesheet" type="text/css" />
    <link href="./Resource/Css/ToolBar.css" rel="stylesheet" type="text/css" />

    <link rel="stylesheet" media="all" type="text/css" href="./Resource/Css/dropdown.css" />

    <link href="./Resource/LigerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <link href="./Resource/LigerUI/skins/Gray2014/css/all.css" rel="stylesheet" type="text/css" />
    <link href="./Resource/select2/select2.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="./Resource/LigerUI/LigeruiExtend.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="./Resource/qtip/jquery.qtip.min.css" rel="stylesheet" type="text/css" />
    <link href="./Resource/Css/Application.css" rel="stylesheet" type="text/css" />
    <!--[if IE]>
    <link href="./Resource/dwz/themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen"/>
    <![endif]-->
    <!--[if lte IE 9]>
    <script src="./Resource/dwz/js/speedup.js" type="text/javascript"></script>
    <![endif]-->
    <script src="./Resource/dwz/js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="./Resource/dwz/js/jquery.bgiframe.js" type="text/javascript"></script>
    <script src="./Resource/dwz/js/jquery.cookie.js" type="text/javascript"></script>
    <script src="./Resource/dwz/js/jquery.validate.min.js" type="text/javascript"></script>
    <script src="./Resource/dwz/js/dwz.min.js" type="text/javascript"></script>
    <script src="./Resource/dwz/js/dwz.regional.zh.js" type="text/javascript"></script>
    <script src="./Resource/dwz/toolbar.js" type="text/javascript"></script>
    <script src="./Resource/LigerUI/js/ligerui.all.js" type="text/javascript"></script>
    <script src="./Resource/select2/select2.js" type="text/javascript"></script>
    <script src="./Resource/Js/jquery.dragsort-0.5.1.js" type="text/javascript"></script>
    <script src="./Resource/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="./Resource/Js/jquery-ui-1.10.4.custom.js" type="text/javascript"></script>
    <script src="./Resource/Js/custom-ui.js" type="text/javascript"></script>
    <script src="./Resource/qtip/jquery.qtip.min.js" type="text/javascript"></script>
    <script src="./Resource/Js/jquery.money.js" type="text/javascript"></script>
    <script src="./Resource/Js/jquery.cookie.js" type="text/javascript"></script>
    <style type="text/css">
        /*遮隐层*/
        #bg {
            display: none;
            position: absolute;
            top: 0%;
            left: 0%;
            width: 100%;
            height: 100%;
            background-color: black;
            z-index: 1001;
            -moz-opacity: 0.2;
            opacity: 0.2; /*.70;*/
            filter: alpha(opacity=70);
        }

        #show {
            display: none;
            position: absolute;
            top: 25%;
            left: 42%;
            width: 10%;
            padding: 8px;
            border: 8px solid #E8E9F7;
            background-color: white;
            z-index: 1002;
            overflow: auto;
        }
    </style>
    <script type="text/javascript">

          $(function () {
              DWZ.init("./Resource/dwz/dwz.frag.xml", {
                  loginUrl: "login.aspx", loginTitle: "登录",
                  statusCode: { ok: 200, error: 300, timeout: 301 },
                  debug: false,
                  callback: function () {
                      initEnv();
                      $("#themeList").theme({ themeBase: "./Resource/dwz/themes" });
                      // 默认打开新申请选项卡
                      setTimeout(function () {
                          // 默认打开新申请
                          $("a[rel='main']").click();
                      }, 100);
                  }
              });
          });

          function confirmLogOff() {
              alertMsg.confirm("确认要退出吗？", {
                  okCall: function () {
                      location.href = "logon.aspx";
                  }
              });
              return false;
          }

          function winOpenFullScreen(strURL) {
              var tmp = window.open(strURL);
              return tmp;
          }

          function winOpenFullScreen2(strURL) {
              var sheight = screen.height - 20;
              var swidth = screen.width - 10;
              var winoption = "left=0,top=0,height=" + sheight + ",width=" + swidth + ",toolbar=no,menubar=no,location=no,status=no,scrollbars=yes,resizable=yes";
              var tmp = window.open(strURL, '', winoption);
              return tmp;
          }

          function SendChangeProcess(url) {
              $.ajax({
                  type: 'POST', url: url,
                  dataType: "json", cache: false,
                  success: function (json) {
                      DWZ.ajaxDone(json);
                      if (json[DWZ.keys.statusCode] == DWZ.statusCode.ok) {
                          winOpenFullScreen(json.navTabId);
                      }
                  }
              });
          }
          function SendDepositProcess(url) {
              $.ajax({
                  type: 'POST', url: url,
                  dataType: "json", cache: false,
                  success: function (json) {
                      if (json[DWZ.keys.statusCode] == DWZ.statusCode.ok) {
                          winOpenFullScreen('pages/smd/receivedeposit.aspx?TaskID=' + json.navTabId);
                      }
                  }
              });
          }
          function winOpenMonitor(strURL) {
              var sheight = screen.height - 150;
              var swidth = screen.width - 10;
              var winoption = "left=0,top=0,height=" + sheight + ",width=" + swidth + ",toolbar=yes,menubar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes";
              var tmp = window.open(strURL, '', winoption);
              return false;
          }

          function winOpenForm(strURL, id) {
              //document.getElementById(id).style.display = "none";
              var sheight = screen.height - 150;
              var swidth = screen.width - 10;
              var winoption = "left=0,top=0,height=" + sheight + ",width=" + swidth + ",toolbar=yes,menubar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes";
              var tmp = window.open(strURL, '', winoption);
              return false;
          }

          //报表遮导入挡层
          function showdiv() {
              document.getElementById("bg").style.display = "block";
              document.getElementById("show").style.display = "block";
          }
          function hidediv() {
              document.getElementById("bg").style.display = "none";
              document.getElementById("show").style.display = "none";
          }

    </script>
</head>
<body scroll="no">
    <div id="bg"></div>
    <div id="show">
        导入中,请稍等...
    </div>
    <div id="layout">
        <div id="header">
            <div class="headerNav">
                <a class="logo">标志</a>



                <form id="form1" runat="server">
                    <ul class="nav" style="top: 19px; right: 0px; margin-top: -14px; margin-right: -10px">
                        <li id="switchEnvBox"><a href="javascript:">（<span><%= clsCmm.comm_language == "zh-cn" ? "简体中文" : "English" %></span>）切换语言</a>
                            <ul>
                                <li><a href="javascript:;" onclick="location.href='index.aspx?language=zh-cn'">简体中文</a></li>
                                <li><a href="javascript:;" onclick="location.href='index.aspx?language=en-us'">English</a></li>
                            </ul>
                        </li>
                        <li>
                            <asp:LinkButton ID="btnLang" runat="server" Font-Names="Arial" Font-Size="9pt" Font-Underline="False"
                                OnClick="btnLang_Click" Width="26px" ForeColor="#0088DD"></asp:LinkButton>
                            <asp:DropDownList ID="drpLang" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drpLang_SelectedIndexChanged">
                                <asp:ListItem Text="简体中文" Value="zh-cn"></asp:ListItem>
                                <asp:ListItem Text="English" Value="en-us"></asp:ListItem>
                            </asp:DropDownList>
                        </li>
                        <li><a href="javascript:void(0);"><%=clsCmm.getTextValue("frm_index_hello")%><%=clsCmm.comm_userfullname%></a></li>

                        <% if (User.Identity.AuthenticationType != "negotiate")
                           { %>
                        <li>
                            <asp:LinkButton ID="lbtnLogoff" runat="server" Font-Names="Arial" Font-Size="9pt" OnClientClick="return confirmLogOff()"
                                Font-Underline="False" ForeColor="White" Width="26px"></asp:LinkButton>
                        </li>
                        <% } %>
                        <li><a href="Pages\SMD\培训文档.zip" target="_blank">培训文档下载</a></li>
                        <li><a href="<%=clsCmm.getTextValue("frm_index_help_url")%>" target="_blank">
                            <%=clsCmm.getTextValue("frm_index_help_title")%></a></li>
                    </ul>
                </form>
            </div>
            <!-- navMenu -->
        </div>
        <div id="leftside">
            <div id="sidebar_s">
                <div class="collapse">
                    <div class="toggleCollapse">
                        <div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="sidebar">
                <div class="toggleCollapse">
                    <h2>主菜单</h2>
                    <div>
                        收缩
                   
                    </div>
                </div>
                <div class="accordion" fillspace="sidebar">
                    <uc1:menu ID="idx_menu" runat="server" />
                </div>
            </div>
        </div>
        <div id="container">
            <div id="navTab" class="tabsPage">
                <div class="tabsPageHeader">
                    <div class="tabsPageHeaderContent">
                        <!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
                        <ul class="navTab-tab">
                            <li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">我的工作台</span></span></a></li>
                        </ul>
                    </div>
                    <div class="tabsLeft">
                        left
                   
                    </div>
                    <!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
                    <div class="tabsRight">
                        right
                   
                    </div>
                    <!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
                    <div class="tabsMore">
                        more
                   
                    </div>
                </div>
                <ul class="tabsMoreList">
                    <li><a href="javascript:;">我的主页</a></li>
                </ul>
                <div class="navTab-panel tabsPageContent layoutBox">
                    <div class="page unitBox">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="footer">
        IT Service Hotline:&nbsp;&nbsp;<b>400-120-4865</b>
    </div>
</body>
</html>
